<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<form th:action="@{./addAQ}" id="myForm">
    <table>
        <tr>
            <td>区域</td>
            <td>
                <select name="districid">
                    <option th:each="d : ${districts}" th:value="${d.id}">[[${d.name}]]</option>
                </select>
            </td>
        </tr>
        <tr>
            <td>监测时间</td>
            <td><input type="date" name="monitortime"></td>
        </tr>
        <tr>
            <td>PM10数据监测</td>
            <td><input type="text" name="pm10"></td>
        </tr>
        <tr>
            <td>PM2.5数据</td>
            <td><input type="text" name="pm25"></td>
        </tr>
        <tr>
            <td>监测站</td>
            <td><input type="text" name="monitoringstation"></td>
        </tr>
        <tr>
            <td><input type="submit"></td>
            <td><input type="reset" onclick="formReset()"></td>
        </tr>
    </table>

</form>
<script src="https://code.jquery.com/jquery-3.1.1.min.js"></script>
<script type="text/javascript">
    function formReset() {
        document.getElementById("myForm").reset()
    }
</script>
</body>
</html>